#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'libb@anchent.com'


def main(a):
    if not isinstance(a, str):
        raise TypeError('this obj must be string')
    return a


print(main(2))
